package com.ruoyi.tzzl.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 *  用户择偶标准对象 wz_user_standard
 * @author by caoyong
 * @date 2022/11/19
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wz_user_standard")
public class WzUserStandard {

    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long id;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 身高 */
    @Excel(name = "身高")
    private String height;

    /** 年收入 */
    @Excel(name = "年收入")
    private String annualIncome;

    /** 工作生活地址 */
    @Excel(name = "工作生活地址")
    private String workAddress;

    /** 户籍 */
    @Excel(name = "户籍")
    private String censusRegister;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况")
    private String marriageStatus;

    /** 有无子女 */
    @Excel(name = "有无子女")
    private String children;

    /** 体重 */
    @Excel(name = "体重")
    private String weight;

    /** 星座 */
    @Excel(name = "星座")
    private String constellation;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 变动时间 */
    @Excel(name = "变动时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    private String delFlag;

}
